package com.vip.dao.order.dao;

import com.vip.dao.admin.domain.User;
import com.vip.dao.order.domain.ShopOrder;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface ShopOrderDao extends JpaRepository<ShopOrder,Long> {

    List<ShopOrder> findShopOrderByUid(Long uid);

    List<ShopOrder> findShopOrderByTelephone(String phone);

    List<ShopOrder> findShopOrderByStatus(String statue);

}     
